package com.mspbots.web.trigger.model;

import com.mspbots.web.core.model.TenantConfiguration;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * com.mspbots.cw.request.TenantDTO
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/6/28
 */
@Data
public class Tenant implements Serializable {

    @Id
    private Long id;
    private String name;
    private String url;
    private String shortName;
    private String description;
    private Integer statusId;
    private LocalDateTime createDate;

    @Transient
    private transient List<TenantConfiguration> configuration;

    @Transient
    private String workType;
}
